# Contributor: lauren n. liberda <lauren@selfisekai.rocks>
# Maintainer: lauren n. liberda <lauren@selfisekai.rocks>
pkgname=deblob
_commit=2127c12739b1b6bf3ea4980cb8d4ba99d1306882
pkgver=0.6_git20231202
pkgrel=0
pkgdesc="Remove binary executables (blobs) from a directory"
url="https://hacktivis.me/projects/deblob"
arch="aarch64 riscv64 x86_64"	# hare
license="BSD-3-Clause OR CC-BY-SA-4.0 OR GPL-2.0-only OR MIT"
makedepends="hare"
subpackages="$pkgname-doc"
source="
	deblob-$pkgver.tar.gz::https://git.sr.ht/~lanodan/deblob/archive/$_commit.tar.gz
	"
builddir="$srcdir/$pkgname-$_commit"

build() {
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
f07538a7d9478e276d8cd5e81f7c49e355baa979c9c3da94d17886a7382b111b309ee735e94a41284148b131dcd160dfb3431ab15c0496749b12cba5ff02d7d1  deblob-0.6_git20231202.tar.gz
"
